<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title></title>
	{css href="/static/admin/component/pear/css/pear.css"}
	{css href="/static/admin/admin/css/other/person.css"}

	<style>
		.comment {
			bottom: inherit;
		}
	</style>
</head>

<body class="pear-container">
	<div class="layui-row layui-col-space10">
		<div class="layui-col-md4">
			<div class="layui-card">
				<div class="layui-card-body" style="padding: 25px;">
					<div class="text-center layui-text">
						<div class="user-info-head" id="userInfoHead">
							<img src="/static/admin/admin/images/avatar.jpg" width="115px" height="115px" alt="">
						</div>
						<h2 style="padding-top: 20px;font-size: 20px;">{:getLoginUser('student_name')}</h2>
						<p style="padding-top: 8px;margin-top: 10px;font-size: 13.5px;">{:getLoginUser('student_no')}
						</p>
					</div>
				</div>
				<!-- <div
					style="height: 45px;border-top: 1px whitesmoke solid;text-align: center;line-height: 45px;font-size: 13.5px;">
					<span>今日事 ，今日毕</span>
				</div> -->
			</div>

			<div class="layui-card">
				<div class="layui-card-header">
					历史提交
				</div>
				<div class="layui-card-body">
					<ul class="list">
						{volist name="record" id="rec" length="6"}
						<li class="list-item"><span class="title">{$rec.course_name} · {$rec.task_name}</span><span
								class="footer">{$rec.task_last_time}</span></li>
						{/volist}
					</ul>
				</div>
			</div>
		</div>
		<div class="layui-col-md8">
			<div class="layui-card">
				<div class="layui-card-header">
					作业列表
				</div>
				<div class="layui-card-body">
					<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
						<div class="layui-tab-content">
							<div class="layui-tab-item layui-show">
								{volist name="task" id="tasks" length="10"}
								<div class="layui-row layui-col-space12">
									<div class="layui-col-md12" style="min-height: 50px;">
										<div class="title">{$i}. {$tasks.course_name} · {$tasks.task_name}</div>
										<div class="comment">{$tasks.task_create_time}
											<!-- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
											已完成 5 未完成 12 总人数 17 -->
										</div>
									</div>
								</div>
								{/volist}
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	{js href="/static/admin/component/layui/layui.js"}
	<script>
		layui.use(['element'], function () {
			var element = layui.element;
		})
	</script>
</body>

</html>